package com.example.easypoi.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.easypoi.model.Maintain;
import com.example.easypoi.model.MaintainDto;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @description:
 * @author: 朱超
 * @createDate: 2023/3/28
 * @version: 1.0
 * @remark：备注
 */
@Mapper
public interface MaintainMapper extends BaseMapper<Maintain> {

    /**
     * 添加个体
     */
    Integer addMaintain(@Param("maintainList") List<MaintainDto> maintainList);


    Integer addMaintainSSSser(@Param("maintainList") List<MaintainDto> maintainList);


    /**
     * 添加企业
     * @param maintainList
     * @return
     */

    Integer addMaintainMaintainDto(@Param("maintainList") List<MaintainDto> maintainList);


    List<Maintain> queryList();
}
